package com.shaoshaohuo.app.ui;

import com.shaoshaohuo.app.R;
import com.shaoshaohuo.app.view.TopbarView;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

/**
 * @ClassName ConfirmOrderActivity
 * @author linmu
 * @Decription 确认订单
 */
public class ConfirmOrderActivity extends BaseActivity {
	
	private TopbarView mTopbarView;
	private Button mNextButton; 
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_about_us);
		initView();
		setUpView();
	}

	private void initView() {
		mTopbarView = (TopbarView) this.findViewById(R.id.topbar);
		mNextButton = (Button) this.findViewById(R.id.button_next);
	}

	private void setUpView() {
		mTopbarView.setCenterText("确认订单");
		mTopbarView.setLeftView(true, true);

		mNextButton.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				confirmOrder();
			}
		});
		
	}

	protected void confirmOrder() {
		
	}
}
